Skip to content

Add serverless guidance for Feature Flags server SDKs#37110

Open
leoromanovsky wants to merge 7 commits into
masterfrom
leo.romanovsky/feature-flags-serverless-doc
Open

Add serverless guidance for Feature Flags server SDKs#37110
leoromanovsky wants to merge 7 commits into
masterfrom
leo.romanovsky/feature-flags-serverless-doc

Conversation

@leoromanovsky
Copy link
Copy Markdown
Contributor

@leoromanovsky leoromanovsky commented May 29, 2026

Motivation

Feature Flags server SDK documentation did not explain how serverless workloads receive Remote Configuration payloads. Users running on AWS Lambda, Google Cloud Run, Azure Functions, and similar platforms need clear guidance that the Datadog Agent is required for server-side flag payload delivery, and that deeper serverless support is planned for a future release.

Changes

This PR adds a new Serverless Environments guide under the Feature Flags Implementation Patterns folder. The guide explains the Agent-backed Remote Configuration flow, the recommended stateful-Agent architecture for serverless workloads, the required environment variables, operational considerations, and validation steps.

It also adds environment-specific notes for AWS Lambda, Google Cloud Run services and functions, Azure Functions, AWS Fargate/container tasks, and managed edge/function platforms. The PR adds the Implementation Patterns folder to the Feature Flags left navigation and keeps the server SDK overview linked to the serverless guidance through both inline copy and further reading.

Decisions

The guidance stays high level and architecture-focused instead of duplicating language-specific SDK setup. The page explicitly calls out that the public Feature Flags API is for management, not per-request flag evaluation, and that application-owned defaults or static configuration are outside Remote Configuration delivery when no Agent path is available.

Validation performed locally:

  • git diff --check
  • YAML parsing for changed frontmatter and menu config
  • yarn run build:hugo after generating a transient Cdocs assets partial; the serverless page rendered before the folder move, but the full build exited on existing repo-wide missing generated data sources unrelated to this change.

@github-actions github-actions Bot added the Architecture Everything related to the Doc backend label May 29, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 29, 2026

@leoromanovsky leoromanovsky marked this pull request as ready for review May 29, 2026 19:12
@leoromanovsky leoromanovsky requested a review from a team as a code owner May 29, 2026 19:12
@leoromanovsky leoromanovsky requested a review from A-Rindone May 29, 2026 19:13
Comment thread content/en/feature_flags/implementation_patterns/serverless.md Outdated
@A-Rindone A-Rindone requested a review from joepeeples May 29, 2026 19:40
@joepeeples joepeeples added the editorial review Waiting on a more in-depth review label May 29, 2026
@joepeeples
Copy link
Copy Markdown
Contributor

Opened DOCS-14576 to follow up with editorial review.

Copy link
Copy Markdown
Contributor

@aarsilv aarsilv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this!

Comment thread content/en/feature_flags/implementation_patterns/serverless.md Outdated
- add link to Feature Flags API docs
- add alert explaining EXPERIMENTAL_ env var
- add/update further reading links
Avoid commitments or predictions of future functionality, and only cover current capabilities in documentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Architecture Everything related to the Doc backend editorial review Waiting on a more in-depth review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants